package DesignPatern.A18_备忘录模式.A01_基本模式;

/**
 * @Author: Du
 * @Date: 2021/8/3 14:59
 */
public class Caretaker
{
    private IMemento memento;
    
    public IMemento getMemento()
    {
        return memento;
    }
    
    public void setMemento(IMemento memento)
    {
        this.memento = memento;
    }
}
